import {
    request
} from "./request";
import qs from "qs";

//  获取评论列表
export function getEvaluateList(obj) {
    return request({
        url: "ScComment/getCommentByCompanyId",
        method: "post",
        data: qs.stringify(obj)
    });
}
//获取商品列表
export function getProductList(obj) {
    return request({
        url: "scProduct/getProductListByCompanyIdNoPage",
        method: "post",
        data: qs.stringify(obj)
    });
}
//根据评论id列表删除评论
export function deleteCommentById(obj) {
    return request({
        url: "ScComment/deleteComment",
        method: "post",
        data: qs.stringify(obj)
    });
}
//根据评论id列表置顶
export function TopCommentById(obj) {
    return request({
        url: "ScComment/TopComment",
        method: "post",
        data: qs.stringify(obj)
    });
}
